package diko_parent.eduservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import diko_parent.eduservice.entity.frontVo.openId;
import diko_parent.eduservice.mapper.OpenidMapper;
import diko_parent.eduservice.service.OpenidService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Emma-Li
 * @since 2020-12-11
 */
@Service
public class OpenidServiceImpl extends ServiceImpl<OpenidMapper, openId> implements OpenidService {

    /*@Override
    public int saveOpenid(String openid) {
        openId open = new openId();
        open.setOpenId(openid);
        return baseMapper.insert(open);
    }*/

    @Override
    public int saveOpenid(openId openid) {
        /*openId open = new openId();
        open.setOpenId(openid);
        return baseMapper.insert(open);*/
        return 1;
    }
}
